package cn.lds.springbootmybatisplusexamplej380.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
public enum ResponseEnum {

    SUCCESS(200,"ok"),ERROR(401,"错误");


    ResponseEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    Integer code;
    String msg;
}
